#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

int main()
{
	srand(time(0));
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", (rand() + i) % 10);
	}
	return 0;
}